﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FJASPX.Framwork.Model
{
    [Serializable]
    public class Entity
    {
        /// <summary>
        /// 编号
        /// </summary>
        public virtual object Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public virtual string Name { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public virtual string Version { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public virtual string Creator { get; set; }
        private DateTime _TimeStamp = DateTime.Now;
        /// <summary>
        /// 时间戳
        /// </summary>
        public virtual DateTime TimeStamp
        {
            get
            {
                return _TimeStamp;
            }
            set { this._TimeStamp = value; }
        }
        private DateTime _UpdateTime;
        /// <summary>
        /// 更新时间
        /// </summary>
        public virtual DateTime UpdateTime
        {
            get
            {
                return DateTime.Now;
            }
            set { this._UpdateTime = value; }
        }
         

    }
}
